﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Department.App_Code;

namespace Department
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.IsAuthenticated)
            {
                Response.Redirect("/Default.aspx?id=" + PageProperties.GetMainPageID().ToString());
            }
            
            string pageTitle = "Вход в сайта";
            Page.Title = pageTitle;
            
        }
    }
}